/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Live-Video
 * 直播管理API
 *
 * OpenAPI spec version: v1
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;
using JDCloudSDK.Core.Service;

using JDCloudSDK.Core.Annotation;

namespace  JDCloudSDK.Live.Apis
{

    /// <summary>
    ///  添加用户自定义水印模板
        ///         /// 
    /// </summary>
    public class AddCustomLiveStreamWatermarkTemplateRequest : JdcloudRequest
    {
        ///<summary>
        /// 水印位置
        /// - 取值范围：左上：1，右上：3， 左下：7，右下：9，默认：1
        /// 
        ///</summary>
        public   int? Position{ get; set; }
        ///<summary>
        /// 偏移量单位
        /// - 取值: percent,pixel
        /// - percent:按百分比; pixel:像素 默认:pixel
        /// 
        ///</summary>
        public   string OffsetUnit{ get; set; }
        ///<summary>
        /// x轴偏移量
        /// - 取值范围
        ///   percent: (0,100]
        ///   pixel: (0,1920]
        /// 
        ///Required:true
        ///</summary>
        [Required]
        public   int OffsetX{ get; set; }
        ///<summary>
        /// y轴偏移量:
        /// - 取值范围
        ///   percent: (0,100]
        ///   pixel: (0,1920]
        /// 
        ///Required:true
        ///</summary>
        [Required]
        public   int OffsetY{ get; set; }
        ///<summary>
        /// 水印大小单位
        /// - 取值: percent,pixel
        /// - percent:按百分比; pixel:像素 默认:pixel
        /// 
        ///</summary>
        public   string SizeUnit{ get; set; }
        ///<summary>
        /// 水印宽度:
        /// - 取值范围
        ///   percent: (0,100]
        ///   pixel: (0,1920]
        /// 
        ///Required:true
        ///</summary>
        [Required]
        public   int Width{ get; set; }
        ///<summary>
        /// 水印高度:
        /// - 取值范围
        ///   percent: (0,100]
        ///   pixel: (0,1920]
        /// 
        ///Required:true
        ///</summary>
        [Required]
        public   int Height{ get; set; }
        ///<summary>
        /// 自定义水印模板名称
        /// -&amp;ensp;取值要求: 数字、大小写字母、短横线(&quot;-&quot;)、下划线(&quot;_&quot;),
        /// &amp;ensp;&amp;ensp;首尾不能有特殊字符(&quot;-&quot;),
        /// &amp;ensp;&amp;ensp;不超过50字符,utf-8格式
        /// -&amp;ensp;&lt;b&gt;注意: 不能与已定义命名重复&lt;/b&gt;
        /// 
        ///Required:true
        ///</summary>
        [Required]
        public   string Template{ get; set; }
        ///<summary>
        /// 创建上传任务时返回的uploadId参数，当通过接口上传水印图片时，uploadId必填
        /// 
        ///</summary>
        public   string UploadId{ get; set; }
        ///<summary>
        /// 水印地址&lt;br&gt;-&amp;ensp;以&amp;ensp;http:// 开头,可公开访问地址&lt;br&gt;
        ///Required:true
        ///</summary>
        [Required]
        public   string Url{ get; set; }
    }
}